﻿
namespace Syngine.Components
{
	public abstract class Playable : IPlayable
	{
		public PlayableState State { get; protected set; }

		public virtual void Play()
		{
			State = PlayableState.Playing;
		}

		public virtual void Stop()
		{
			State = PlayableState.Stopped;
		}

		public virtual void Pause()
		{
			State = PlayableState.Paused;
		}
	}
}
